#ifndef BSP_IIC_H
#define BSP_IIC_H
#include <Wire.h>
#include <Arduino.h>
#include"MCT8316ADriver.h"
typedef enum
{
  CLOSE = 0,
  NORMAL,
  NO_ID,
} IIC_FAULT_STATUS;
extern IIC_FAULT_STATUS iic_error_status;
void iic_init(void);
void IICTransmit_wire(uint8_t *data,uint8_t len);
void IICTransmit_wire1(uint8_t *data,uint8_t len);
void IICReceive_wire (uint8_t *data,uint8_t len);
void IICReceive_wire1 (uint8_t *data,uint8_t len);

#endif // BSP_IIC_H